Skip to content

ui(page.form): icon field uses the searchable icon-picker widget#1843

Merged
xuyushun441-sys merged 1 commit into
mainfrom
feat/page-icon-widget
Jun 14, 2026
Merged

ui(page.form): icon field uses the searchable icon-picker widget#1843
xuyushun441-sys merged 1 commit into
mainfrom
feat/page-icon-widget

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

What

Sets widget: 'icon' on the page Basics → icon field so the metadata-admin form renders a searchable Lucide icon picker (preview + name) instead of a raw text input where the author had to type an exact icon name.

- { field: 'icon', colSpan: 1, helpText: 'Icon for navigation menu' },
+ { field: 'icon', widget: 'icon', colSpan: 1, helpText: 'Icon for navigation menu' },

Mirrors the existing view-ref / filter-mode widget hints (the widget field is free-form z.string(), so no schema change is needed). The same hint is reusable for app/object icon fields.

Paired with

The icon widget itself ships in @object-ui/app-shell: objectstack-ai/objectui#1725. Merge that first (or together) so the hint resolves to a real renderer; until then an unknown widget falls back to the default text input, so this is safe to land independently.

Changeset: @objectstack/spec patch. pnpm --filter @objectstack/spec build is clean.

🤖 Generated with Claude Code

The Basics → `icon` field now carries `widget: 'icon'`, so the metadata-admin
form renders a searchable Lucide icon picker (preview + name) instead of a raw
text input where the author had to type an exact Lucide name. Mirrors the
existing `view-ref` / `filter-mode` widget hints. The picker ships in
@object-ui/app-shell and the same hint is reusable for app/object icon fields.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 14, 2026 7:58am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation protocol:ui tooling size/s labels Jun 14, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 7a103d4 into main Jun 14, 2026
12 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the feat/page-icon-widget branch June 14, 2026 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation protocol:ui size/s tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants